package com.sfy.service;

import com.sfy.pojo.Dept;
import com.sfy.pojo.Result;
import org.springframework.web.bind.annotation.RequestMapping;

import java.util.List;

public interface DeptService {

    List<Dept> selectAllDept();

    void deleteDeptById(Integer id);

    void addDept(Dept dept);

    void updateDept(Dept dept);
}
